<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://ajaxtags.org/tags/ajax" prefix="ajax"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="/jsp/include/header.jsp" flush="true" />

<div id="topOrange"></div>
<div id="topHeader">
	<div id="textFaoLogo">
	<a href="http://www.fao.org" title="Food and Agriculture of the United Nations home page" onclick="window.open(this.href);return false"><img src="<%=request.getContextPath()%>/img/fao_logo.gif" alt="FAO Logo" class="floatLeft" /></a><p>FOOD AND AGRICULTURE OF THE UNITED NATIONS<br/>

<span class="italicText">helping to build a world without hunger</span></p>
	</div>
</div>
<div id="wrapper"><!--width 792px-->
  <img src="<%=request.getContextPath()%>/img/Small_bee_headDown.jpg" alt="Bee" id="bee" />
  <!--start  horizontal navigation -->
  <div id="menu">
   <ul>
    <li>
    <a href="../index_en.html">HOME</a> | </li>
    <!-- <li><a href="tools.html" title="Tools and Methods">TOOLS AND METHODS</a> | </li>  -->
    <li><a href="../studies.html">CASE STUDIES</a> | </li>
    <li><a href="../documents.html">DOCUMENTS</a> | </li>
    <li class="languageMenu"><a href="#">Español</a></li>
    <li class="languageMenu"><a href="#">Français</a>&nbsp;&nbsp;|</li>
   </ul>
   
  </div>  
  <div id="pimsButton">
   <ul> 
<!--
   	<li><a href="/pimsweb" title="Pollination Information Management System" class="current">POLLINATION INFORMATION MANAGEMENT SYSTEM [PIMS]</a></li>
-->
   	<li><a href="<%=request.getContextPath()%>" title="Pollination Information Management System" class="current">POLLINATION INFORMATION MANAGEMENT SYSTEM [PIMS]</a></li>
   </ul>
  </div><!--end  horizontal navigation -->

  
  <div id="leftCol">
  <!--left menu-->
   <ul>
    <li class="first">PIMS QUESTIONS</li>
    <li class="current" id="active">What are the pollination needs of a particular crop?</li>
    <li><a href="<%=request.getContextPath()%>/jsp/manage/manage.jsp">What is the current understanding of managing pollination of a particular crop?</a></li>
    <li><a href="<%=request.getContextPath()%>/jsp/references/references.jsp">What studies have been carried out on the pollination of this crop?</a></li>
    <li><a href="<%=request.getContextPath()%>/jsp/pollinteractions/pollinteractions.jsp">What is known about the pollinators of this crop?</a></li>
<!--
    <li><a href="/pimsweb/jsp/pesticides/pesticides.jsp">What is known about pesticide impacts on pollinators?</a></li>
    <li><a href="/pimsweb/jsp/bestpractices/bestpractices.jsp">What pollinator-friendly practices can promote the conservation and management of these pollinators?</a></li>

    <li><a href="<%=request.getContextPath()%>/book.do">What is the current understanding of managing pollination of a particular crop?</a></li>
    <li><a href="<%=request.getContextPath()%>/references.do">What studies have been carried out on the pollination of this crop?</a></li>
    <li><a href="<%=request.getContextPath()%>/speciesInteraction.do">What is known about the pollinators of this crop?</a></li>
    <li><a href="pesticide_impacts.html">What is known about pesticide impacts on pollinators?</a></li>
    <li><a href="poll_friendly.html">What pollinator-friendly practices can promote the conservation and management of these pollinators?</a></li>
-->
   </ul> 
   <!--endleft menu-->
   
   <!--Search
   <form action="" id="searchForm">
   		<input type="text" name="search" id="searchInput"/>
     	<input name="searchBotton" id="searchBotton" type="image" value="Register" src="img/darksearch_bott.gif" />
   </form>-->
  </div><!--end  left div -->
  
  <div id="rightCol">
   <h1>Pollination Need of Crops</h1>
   <h2>What are the pollination needs of a particular crop?</h2>
   
   <p>The leading global food crops as reported in FAOSTAT have been 
   evaluated for their dependence on animal pollinators.  Information for each 
   crop evaluated is searchable here, by entering the name of a given crop - either 
   the common name or the scientific name.</p>
   
   <!--start form-->
  <form action="/pimsweb/pollinationNeeds.do" id="query">
  	<label>Enter name of crop (common or scientific name):</label>
    <input id="nameofcrop" name="nameofcrop" type="text" size="60" />
    <input id="scientificName" name="scientificName" type="text" size="60" style="display:none;"/>
    <span id="indicator" style="display:none;"><img src="${contextPath}/img/indicator.gif" /></span>
    <input name="submitBotton" id="submitBotton" type="image" value="" src="<%=request.getContextPath()%>/img/submit_botton.gif" />
   </form>
   <!--end form-->

   <!--query result-->
   <div id="result">

  <!--<h3><div class="floatLeft"><html:errors/></div> "<%=request.getParameter("nameofcrop")%>"</h3>-->   
  <h3><html:errors/></h3>   

 </div><!--end query result-->
  </div><!--end rightCol div-->

  <div id="footer"><a href="http://www.fao.org/copyright_en.htm" onclick="window.open(this.href);return false" title="Copyright page"> ©2008 FAO - AGP</a> <!-- | <a href="#">Glossary</a> --></div>
</div><!--end wrapper div-->
		
<div id="errorMsg" style="display:none;border:1px solid #e00;background-color:#fee;padding:2px;margin-top:8px;width:300px;font:normal 12px Arial;color:#900"></div>

<ajax:autocomplete
  source="nameofcrop"
  target="scientificName"
  baseUrl="${contextPath}/autocomplete.view"
  className="autocomplete"
  indicator="indicator"
  minimumCharacters="2"
   />	

<jsp:include page="/jsp/include/footer.jsp" flush="true" />